package 饿汉式;

public class innerSingleton {
	private innerSingleton() {

	}

	private static class SingletonHolder {
		private static final innerSingleton SINGLETON = new innerSingleton();
	}

	public static innerSingleton getInstance() {
		return SingletonHolder.SINGLETON;
	}

}
